package com.hzvtc.bosswang.manageeducation.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzvtc.bosswang.manageeducation.domain.Course;
import com.hzvtc.bosswang.manageeducation.mapper.CourseMapper;
import com.hzvtc.bosswang.manageeducation.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class CourseServiceImpl implements CourseService {

    @Autowired
    private CourseMapper courseMapper;
    @Override
    public Integer addCourse(Course course) {
        return courseMapper.add(course);
    }

    @Override
    public Integer editCourse(Course course) {
        return null;
    }

    @Override
    public Integer deleteCourse(Long id) {
        return null;
    }

    @Override
    public Course selectCourseById(Long id) {
        return null;
    }

    @Override
    public Page<Course> listCourse(Page<Course> page, Course course) {
        return null;
    }
}
